local Lang = require("common.Lang")


MAX_ONLINE_COUNT = 5000		--	最大同时在线人数

-- 断开连接提示码
DISCONNECT_NORMAL = 1			-- 正常断开连接
DISCONNECT_KICK_SINGLE = 2		-- 管理后台踢人（单独）
DISCONNECT_KICK_ALL = 3			-- 管理后台踢人（全服）
DISCONNECT_DUPLICATE = 4		-- 重复帐号登录
DISCONNECT_AUTH_FAIL = 5		-- 登录认证失败
DISCONNECT_FCM_TIME = 6			-- 防沉迷
DISCONNECT_NORMAL_AFTER = 7		-- 正常断开后几秒后销毁
DISCONNECT_MAX_ONLINE = 8		-- 最大登录人数限制
DISCONNECT_TIME_DESTROY = 9  -- world异常回收
DISCONNECT_MIDDLE_NO_DATA = 14 -- 登录跨服失败 跨服无此帐号数据
DISCONNECT_MIDDLEING = 10   -- 登录正常服失败 帐号在跨服登录中
DISCONNECT_G2M = 11       -- 从本服离开登录跨服
DISCONNECT_M2G = 12       -- 从跨服离开登录本服
DISCONNECT_M2G_ERR = 13     -- 从跨服离开登录本服err

DISCONNECT_MSG = {}
DISCONNECT_MSG[DISCONNECT_NORMAL] = ""
DISCONNECT_MSG[DISCONNECT_KICK_SINGLE] = Lang.DISCONNECT_KICK_SINGLE
DISCONNECT_MSG[DISCONNECT_KICK_ALL] = Lang.DISCONNECT_KICK_ALL
DISCONNECT_MSG[DISCONNECT_DUPLICATE] = Lang.DISCONNECT_DUPLICATE
DISCONNECT_MSG[DISCONNECT_AUTH_FAIL] = Lang.DISCONNECT_AUTH_FAIL
DISCONNECT_MSG[DISCONNECT_FCM_TIME] = Lang.DISCONNECT_FCM_TIME
DISCONNECT_MSG[DISCONNECT_NORMAL_AFTER] = ""
DISCONNECT_MSG[DISCONNECT_MAX_ONLINE] = Lang.DISCONNECT_MAX_ONLINE
DISCONNECT_MSG[DISCONNECT_TIME_DESTROY] = ""

DISCONNECT_MSG[DISCONNECT_MIDDLE_NO_DATA] = Lang.DISCONNECT_MIDDLE_NO_DATA
DISCONNECT_MSG[DISCONNECT_MIDDLEING] = Lang.DISCONNECT_MIDDLEING
DISCONNECT_MSG[DISCONNECT_G2M] = Lang.DISCONNECT_G2M
DISCONNECT_MSG[DISCONNECT_M2G] = Lang.DISCONNECT_M2G
DISCONNECT_MSG[DISCONNECT_M2G_ERR] = Lang.DISCONNECT_M2G



